<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dxjt_toolkit: include/DxJtHierarchy.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">dxjt_toolkit
   &#160;<span id="projectnumber">0.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DxJtHierarchy.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright (C) 2019 by bitbybit3d, All rights reserved. </span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Author: bitbybit3d@163.com </span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// </span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// </span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OF ANY KIND,</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, </span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"></span><span class="preprocessor">#ifndef __JT_TOOLKIT_HIERARCHY_H_</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define __JT_TOOLKIT_HIERARCHY_H_</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;DxJtEntity.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;DxJtAttrib.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;DxJtProperty.h&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;DxJtShape.h&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_dx_jt_hierarchy.html">   22</a></span>&#160;<span class="keyword">class </span>JT_TOOLKIT_EXPORT <a class="code" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a> : <span class="keyword">public</span> <a class="code" href="class_dx_jt_entity.html">DxJtEntity</a></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <a class="code" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a>();</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a>() {}</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    DXJT_ENTITY_TYPEID_HEADER(<a class="code" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a>);</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="comment">// Basic ID APIs</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keyword">virtual</span> std::wstring name() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setName(<span class="keyword">const</span> std::wstring&amp; nm) = 0;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> version() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setId(<span class="keywordtype">int</span> InstId) = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> getId() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="comment">// graph-related APIs</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;DxJtHierarchy&gt; parent() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="comment">// properties</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_dx_jt_hierarchy.html#aff400225fa76bedd18a395629334c62e">   47</a></span>&#160;<span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_hierarchy.html#aff400225fa76bedd18a395629334c62e">numProps</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> addProp(std::shared_ptr&lt;DxJtProperty&gt; prop) = 0;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;DxJtProperty&gt; getProp(<span class="keywordtype">int</span> index) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">// attributes</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_dx_jt_hierarchy.html#a111b4607ed134f0157715bd1f059bca7">   56</a></span>&#160;<span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_hierarchy.html#a111b4607ed134f0157715bd1f059bca7">addAttrib</a>(std::shared_ptr&lt;DxJtAttrib&gt; attrib) = 0;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_dx_jt_hierarchy.html#a78bbf784c436615c6ea538ecae254564">   60</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_hierarchy.html#a78bbf784c436615c6ea538ecae254564">numAttribs</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_dx_jt_hierarchy.html#a43f76c2191659007420c1582190d45a3">   64</a></span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;DxJtAttrib&gt; <a class="code" href="class_dx_jt_hierarchy.html#a43f76c2191659007420c1582190d45a3">getAttrib</a>(<span class="keywordtype">int</span> index) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="comment">// JT file structure (&quot;shattering&quot;) APIs</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setJtFilename(<span class="keyword">const</span> std::wstring&amp; JtFileName) = 0;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">virtual</span> std::wstring getJtFilename() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;};</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_dx_jt_unit_hierarchy.html">   75</a></span>&#160;<span class="keyword">class </span>JT_TOOLKIT_EXPORT <a class="code" href="class_dx_jt_unit_hierarchy.html">DxJtUnitHierarchy</a> : <span class="keyword">public</span> <a class="code" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;{</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="class_dx_jt_unit_hierarchy.html">DxJtUnitHierarchy</a>();</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    DXJT_ENTITY_TYPEID_HEADER(<a class="code" href="class_dx_jt_unit_hierarchy.html">DxJtUnitHierarchy</a>);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keyword">enum</span> JtkUnits</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    {</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        JtkUNKNOWN = 0,</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        JtkMICROMETERS,</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        JtkMILLIMETERS,</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        JtkCENTIMETERS,</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        JtkDECIMETERS,</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        JtkMETERS,</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        JtkKILOMETERS,</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        JtkINCHES,</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        JtkFEET,</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        JtkYARDS,</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        JtkMILES,</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        JtkMILS</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    };</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="comment">// Measurement units APIs</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setUnits(JtkUnits units) = 0;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keyword">virtual</span> JtkUnits getUnits() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="comment">// Instance APIs</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> numInstances() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;};</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_dx_jt_assembly.html">  118</a></span>&#160;<span class="keyword">class </span>JT_TOOLKIT_EXPORT <a class="code" href="class_dx_jt_assembly.html">DxJtAssembly</a> : <span class="keyword">public</span> <a class="code" href="class_dx_jt_unit_hierarchy.html">DxJtUnitHierarchy</a></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;{</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <a class="code" href="class_dx_jt_assembly.html">DxJtAssembly</a>();</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    DXJT_ENTITY_TYPEID_HEADER(<a class="code" href="class_dx_jt_assembly.html">DxJtAssembly</a>);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_dx_jt_assembly.html#aa87d4b866109f42f6e88b57cbb1ed70e">  130</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_assembly.html#aa87d4b866109f42f6e88b57cbb1ed70e">addChild</a>(std::shared_ptr&lt;DxJtHierarchy&gt; son) = 0;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_dx_jt_assembly.html#ad7349668b0fba290c2d9bfb9c08b778a">  135</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_assembly.html#ad7349668b0fba290c2d9bfb9c08b778a">numChildren</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="class_dx_jt_assembly.html#a2d7a3068fa15aed506206a603bb85347">  140</a></span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;DxJtHierarchy&gt; <a class="code" href="class_dx_jt_assembly.html#a2d7a3068fa15aed506206a603bb85347">child</a>(<span class="keywordtype">int</span> index) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;};</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_dx_jt_part.html">  149</a></span>&#160;<span class="keyword">class </span>JT_TOOLKIT_EXPORT <a class="code" href="class_dx_jt_part.html">DxJtPart</a> : <span class="keyword">public</span> <a class="code" href="class_dx_jt_unit_hierarchy.html">DxJtUnitHierarchy</a></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;{</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <a class="code" href="class_dx_jt_part.html">DxJtPart</a>();</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    DXJT_ENTITY_TYPEID_HEADER(<a class="code" href="class_dx_jt_part.html">DxJtPart</a>);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> addPolyShape(std::shared_ptr&lt;DxJtShape&gt; shape, <span class="keywordtype">int</span> LODNum = 0) = 0;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_dx_jt_part.html#af317fb2bbdd6ba165d76c78b5ce39c0f">  163</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_part.html#af317fb2bbdd6ba165d76c78b5ce39c0f">numPolyLODs</a>() = 0;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_dx_jt_part.html#a4a5fb3c9d03fdeb031d28fc97c5e974c">  168</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_dx_jt_part.html#a4a5fb3c9d03fdeb031d28fc97c5e974c">numPolyShapes</a>(<span class="keywordtype">int</span> LODNum) = 0;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;DxJtShape&gt; getPolyShape(<span class="keywordtype">int</span> LODNum, <span class="keywordtype">int</span> index) = 0;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;};</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_dx_jt_instance.html">  177</a></span>&#160;<span class="keyword">class </span>JT_TOOLKIT_EXPORT <a class="code" href="class_dx_jt_instance.html">DxJtInstance</a> : <span class="keyword">public</span> <a class="code" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;{</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <a class="code" href="class_dx_jt_instance.html">DxJtInstance</a>();</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    DXJT_ENTITY_TYPEID_HEADER(<a class="code" href="class_dx_jt_instance.html">DxJtInstance</a>);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="class_dx_jt_instance.html#a48aca8eb0648f0b2c80fbc27c3cad797">  188</a></span>&#160;    <span class="keyword">virtual</span> std::shared_ptr&lt;DxJtHierarchy&gt; <a class="code" href="class_dx_jt_instance.html#a48aca8eb0648f0b2c80fbc27c3cad797">original</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;};</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">// __JT_TOOLKIT_HIERARCHY_H_</span></div>
<div class="ttc" id="aclass_dx_jt_assembly_html"><div class="ttname"><a href="class_dx_jt_assembly.html">DxJtAssembly</a></div><div class="ttdoc">The object for defining non-leaf nodes in a product structure hierarchy. Any hierarchy object may be ...</div><div class="ttdef"><b>Definition:</b> DxJtHierarchy.h:119</div></div>
<div class="ttc" id="aclass_dx_jt_assembly_html_a2d7a3068fa15aed506206a603bb85347"><div class="ttname"><a href="class_dx_jt_assembly.html#a2d7a3068fa15aed506206a603bb85347">DxJtAssembly::child</a></div><div class="ttdeci">virtual std::shared_ptr&lt; DxJtHierarchy &gt; child(int index) const =0</div><div class="ttdoc">Gets a JtHierarchy child by index.</div></div>
<div class="ttc" id="aclass_dx_jt_assembly_html_aa87d4b866109f42f6e88b57cbb1ed70e"><div class="ttname"><a href="class_dx_jt_assembly.html#aa87d4b866109f42f6e88b57cbb1ed70e">DxJtAssembly::addChild</a></div><div class="ttdeci">virtual int addChild(std::shared_ptr&lt; DxJtHierarchy &gt; son)=0</div><div class="ttdoc">Adds any JtHierarchy-derived object as a child of this assembly.</div></div>
<div class="ttc" id="aclass_dx_jt_assembly_html_ad7349668b0fba290c2d9bfb9c08b778a"><div class="ttname"><a href="class_dx_jt_assembly.html#ad7349668b0fba290c2d9bfb9c08b778a">DxJtAssembly::numChildren</a></div><div class="ttdeci">virtual int numChildren() const =0</div><div class="ttdoc">Get the number of children.</div></div>
<div class="ttc" id="aclass_dx_jt_entity_html"><div class="ttname"><a href="class_dx_jt_entity.html">DxJtEntity</a></div><div class="ttdoc">The root class.</div><div class="ttdef"><b>Definition:</b> DxJtEntity.h:37</div></div>
<div class="ttc" id="aclass_dx_jt_hierarchy_html"><div class="ttname"><a href="class_dx_jt_hierarchy.html">DxJtHierarchy</a></div><div class="ttdoc">The base class for all product structure objects ( JtAssembly, JtPart, and JtInstance).</div><div class="ttdef"><b>Definition:</b> DxJtHierarchy.h:23</div></div>
<div class="ttc" id="aclass_dx_jt_hierarchy_html_a111b4607ed134f0157715bd1f059bca7"><div class="ttname"><a href="class_dx_jt_hierarchy.html#a111b4607ed134f0157715bd1f059bca7">DxJtHierarchy::addAttrib</a></div><div class="ttdeci">virtual int addAttrib(std::shared_ptr&lt; DxJtAttrib &gt; attrib)=0</div><div class="ttdoc">Set the JtAttribute to this node.</div></div>
<div class="ttc" id="aclass_dx_jt_hierarchy_html_a43f76c2191659007420c1582190d45a3"><div class="ttname"><a href="class_dx_jt_hierarchy.html#a43f76c2191659007420c1582190d45a3">DxJtHierarchy::getAttrib</a></div><div class="ttdeci">virtual std::shared_ptr&lt; DxJtAttrib &gt; getAttrib(int index) const =0</div><div class="ttdoc">Gets the JtAttribute by index.</div></div>
<div class="ttc" id="aclass_dx_jt_hierarchy_html_a78bbf784c436615c6ea538ecae254564"><div class="ttname"><a href="class_dx_jt_hierarchy.html#a78bbf784c436615c6ea538ecae254564">DxJtHierarchy::numAttribs</a></div><div class="ttdeci">virtual int numAttribs() const =0</div><div class="ttdoc">Get the number of attributes.</div></div>
<div class="ttc" id="aclass_dx_jt_hierarchy_html_aff400225fa76bedd18a395629334c62e"><div class="ttname"><a href="class_dx_jt_hierarchy.html#aff400225fa76bedd18a395629334c62e">DxJtHierarchy::numProps</a></div><div class="ttdeci">virtual int numProps() const =0</div><div class="ttdoc">Get the number of properties.</div></div>
<div class="ttc" id="aclass_dx_jt_instance_html"><div class="ttname"><a href="class_dx_jt_instance.html">DxJtInstance</a></div><div class="ttdoc">Reference object pointing to an either a JtkAssembly or JtkPart object. Used to avoid physical duplic...</div><div class="ttdef"><b>Definition:</b> DxJtHierarchy.h:178</div></div>
<div class="ttc" id="aclass_dx_jt_instance_html_a48aca8eb0648f0b2c80fbc27c3cad797"><div class="ttname"><a href="class_dx_jt_instance.html#a48aca8eb0648f0b2c80fbc27c3cad797">DxJtInstance::original</a></div><div class="ttdeci">virtual std::shared_ptr&lt; DxJtHierarchy &gt; original() const =0</div><div class="ttdoc">A pointer to the node being instanced.</div></div>
<div class="ttc" id="aclass_dx_jt_part_html"><div class="ttname"><a href="class_dx_jt_part.html">DxJtPart</a></div><div class="ttdoc">The object for defining leaf nodes in a product structure hierarchy. These objects are the only ones ...</div><div class="ttdef"><b>Definition:</b> DxJtHierarchy.h:150</div></div>
<div class="ttc" id="aclass_dx_jt_part_html_a4a5fb3c9d03fdeb031d28fc97c5e974c"><div class="ttname"><a href="class_dx_jt_part.html#a4a5fb3c9d03fdeb031d28fc97c5e974c">DxJtPart::numPolyShapes</a></div><div class="ttdeci">virtual int numPolyShapes(int LODNum)=0</div><div class="ttdoc">Returns the number of JtShape in a specified LOD.</div></div>
<div class="ttc" id="aclass_dx_jt_part_html_af317fb2bbdd6ba165d76c78b5ce39c0f"><div class="ttname"><a href="class_dx_jt_part.html#af317fb2bbdd6ba165d76c78b5ce39c0f">DxJtPart::numPolyLODs</a></div><div class="ttdeci">virtual int numPolyLODs()=0</div><div class="ttdoc">Get the number of faceted shape geometry LODs.</div></div>
<div class="ttc" id="aclass_dx_jt_unit_hierarchy_html"><div class="ttname"><a href="class_dx_jt_unit_hierarchy.html">DxJtUnitHierarchy</a></div><div class="ttdoc">The intermediate class implementing units and PMI for JtAssembly and JtPart.</div><div class="ttdef"><b>Definition:</b> DxJtHierarchy.h:76</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
